package com.lyy.mybatis.sensitive.annotation;


import com.lyy.mybatis.sensitive.mask.MaskStrategy;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 星号屏蔽-接口响应体脱敏
 *
 * @author lyy
 */
@Target({ElementType.FIELD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MaskStar {

    MaskStrategy value() default MaskStrategy.DEFAULT;
}